<?php

class Cfilms {

	public function construct (){
		include_once "modeles/ListeFilms.php";
		$listeFilms=new ListeFilms();
		$films=$listeFilms->films();
		$nbFilms=$listeFilms->nbFilms($films);
		$nbFilmParPage=$listeFilms->nbFilmParPage();
		$nbPages=$listeFilms->pagination($nbFilms,$nbFilmParPage);
		include 'vues/Vfilms.php';
	}
}
?>